import {Ajax} from "../utils/request"

const getLogin = (data) => {
  // console.log(data);
  return Ajax.post("/api/auth/login",data)
}

const getUserInfo = (data)=> Ajax.post("/api/auth/wx/code",data,false)

const outLogin = () => Ajax.post("/api/auth/logout")

export {
  getLogin,
  getUserInfo,
  outLogin
}